/**
 * Created by yu on 16/9/1.
 * 将查询字符串转化成对象
 */
var queryString = require('querystring');
var s = 'name=hdphp&age=8';
console.log(queryString.parse(s));//查询字符串转对象
var obj = queryString.parse(s);
var str = queryString.stringify(obj);
console.log(str);


